package com.jsu.hotelmanagement.pojo.po;

import lombok.Data;

import java.util.Date;

/**
 * @author Mo
 * @createTime 2022/12/22 0:02
 * @description
 */
@Data
public class OrdersInfoVO {
    private Integer orderId;
    private Integer userId;
    private Integer roomId;
    private Date checkInTime;
    private Date checkOutTime;

    private Date estimatedCheckIn;
    private Date estimatedCheckOut;
    /**
     * 0 未支付
     * 1 已支付
     * 2 入住中
     * 3 已完成
     * 4 已取消
     */
    private Integer status;

    public OrdersInfoVO() {
    }

    public OrdersInfoVO(Integer userId, Integer roomId, Date checkInTime, Date estimatedCheckIn, Date estimatedCheckOut, Integer status) {
        this.userId = userId;
        this.roomId = roomId;
        this.checkInTime = checkInTime;
        this.estimatedCheckIn = estimatedCheckIn;
        this.estimatedCheckOut = estimatedCheckOut;
        this.status = status;
    }

    public OrdersInfoVO(Integer orderId, Integer userId, Integer roomId, Date checkInTime, Date checkOutTime, Date estimatedCheckIn, Date estimatedCheckOut, Integer status) {
        this.orderId = orderId;
        this.userId = userId;
        this.roomId = roomId;
        this.checkInTime = checkInTime;
        this.checkOutTime = checkOutTime;
        this.estimatedCheckIn = estimatedCheckIn;
        this.estimatedCheckOut = estimatedCheckOut;
        this.status = status;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Date getCheckInTime() {
        return checkInTime;
    }

    public void setCheckInTime(Date checkInTime) {
        this.checkInTime = checkInTime;
    }

    public Date getCheckOutTime() {
        return checkOutTime;
    }

    public void setCheckOutTime(Date checkOutTime) {
        this.checkOutTime = checkOutTime;
    }

    public Date getEstimatedCheckIn() {
        return estimatedCheckIn;
    }

    public void setEstimatedCheckIn(Date estimatedCheckIn) {
        this.estimatedCheckIn = estimatedCheckIn;
    }

    public Date getEstimatedCheckOut() {
        return estimatedCheckOut;
    }

    public void setEstimatedCheckOut(Date estimatedCheckOut) {
        this.estimatedCheckOut = estimatedCheckOut;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "OrdersInfoVO{" +
                "orderId=" + orderId +
                ", userId=" + userId +
                ", roomId=" + roomId +
                ", checkInTime=" + checkInTime +
                ", checkOutTime=" + checkOutTime +
                ", estimatedCheckIn=" + estimatedCheckIn +
                ", estimatedCheckOut=" + estimatedCheckOut +
                ", status=" + status +
                '}';
    }
}
